package com.web.exiaodao.remote.service;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import com.web.exiaodao.business.entity.AutherLeaveMessage;
import com.web.exiaodao.remote.vo.AutherLeaveMessageVo;
import com.web.webstart.base.service.ApiBaseService;
import com.web.webstart.base.util.result.XaResult;
import com.web.webstart.base.exception.BusinessException;


public interface ApiAutherLeaveMessageService extends ApiBaseService<AutherLeaveMessageVo,AutherLeaveMessage>{
        /**
        * 查询最新一条满足条件的实体信息
        * @throws BusinessException
        */
        public XaResult<AutherLeaveMessageVo>  findLastOne() throws BusinessException;
        /**
         * 查询所有玩/艺术/学乐/达人-留言表信息
         * @param pageable
         * @param autherLeaveMessageVo
         * @return
         * @throws BusinessException
         */
        public XaResult<Page<AutherLeaveMessageVo>> findAutherLeaveMessageList(Pageable pageable,AutherLeaveMessageVo autherLeaveMessageVo) throws BusinessException;
}
